package org.hzz;

import java.util.Scanner;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.SystemProperties;

public class Main {
    public static void main(String[] args) {
        System.out.println("My current java version" + SystemProperties.getJavaVmVersion());

        Scanner scanner = new Scanner(System.in);
        System.out.println("Provide a non numeric string");
        if (isNumeric(scanner.nextLine())) {
            System.out.println("The provided String is numeric!");
        } else {
            System.out.println("The provided String is valid");
        }
        scanner.close();
    }

    private static boolean isNumeric(String nextLine) {
        return StringUtils.isNumeric(nextLine);
    }
}